package com.ruoyi.system.mapper.app;

import com.ruoyi.system.domain.app.Advertising;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdvertisingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Advertising record);

    int insertSelective(Advertising record);

    Advertising selectByPrimaryKey(Long id);

    List<Advertising> adList(@Param("appId")String appId);

    int updateByPrimaryKeySelective(Advertising record);

    int updateByPrimaryKey(Advertising record);
}